package com.sunye.mongodb;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@Api("商品检索响应")
public class SearchResponse {
    @ApiModelProperty("商品集合")
    private List<MongoDogIndex> mongoDogIndexList;
    @ApiModelProperty("总记录数")
    private Long total;
    @ApiModelProperty("每页显示数")
    private Integer pageSize;
    @ApiModelProperty("当前页")
    private Integer pageNo;
    @ApiModelProperty("总页数")
    private Long totalPages;
}
